package cn.richard.home.provider

import android.content.Context
import cn.richard.base.constant.RouterPath
import cn.richard.home.di.homeModule
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.facade.template.IProvider
import org.koin.core.context.loadKoinModules

/**
 *
 * @ProjectName: PicApp
 * @Author: wuzhiguo@aiforward.com
 * @CreateDate: 2021/9/6 11:18 上午
 * @Description:
 */
@Route(path = RouterPath.Starter.HOME_PROVIDER)
class InitHomeProvider: IProvider {
    private var context: Context? = null
    override fun init(context: Context?) {
        this.context = context
        loadKoinModules(homeModule)
    }
}